<template>
  <!-- 火炉温度 -->
  <div class="box">
    <dv-charts :option="option" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      option: {
        title: {
          text: "当前火炉温度",
          style: {
            fill: "#fff",
          },
        },
        series: [
          {
            type: "gauge",
            data: [{ name: "itemA", value: 90 }],
            center: ["50%", "55%"],
            axisLabel: {
              formatter: "{value}%",
              style: {
                fill: "#fff",
              },
            },
            axisTick: {
              style: {
                stroke: "#fff",
              },
            },
            animationCurve: "easeInOutBack",
          },
        ],
      },
    };
  },
};
</script>

<style lang="less" scoped>
.box {
  width: 100%;
  height: 100%;
}
</style>
